<template>
  <div class="about">
    <h1>This is an about page</h1>
  </div>
</template>
<script>
import {getMenusApi,getUserApi} from '@/utils/api.js'
export default {
    data() {
        return {
            queryInfo:{
                query:'',
                pagenum:1,
                pagesize:10
            }
        }
    },
    created() {
       this.getMenusList()
       this.getUserList()
    },
    methods: {
       async getMenusList(){
           let res =  await getMenusApi()
           console.log(res);
        },
        async getUserList(){
           let res =  await getUserApi(this.queryInfo)
           console.log(res.users);
        }
    },
}
</script>
